﻿using System;
using Refit;
using RefitLeanringConsole.Services;

namespace RefitLeanringConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            var gitHubApi = RestService.For<WeiXinService>("https://api.weixin.qq.com");
            var octocat = gitHubApi.GetAccessToken().Result;

            Console.WriteLine(octocat);


            Console.ReadKey();
        }
    }
}
